package com.hand.exam.service.impl;

import com.hand.exam.domain.User;
import com.hand.exam.mapper.UserMapper;
import com.hand.exam.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 马旭阳
 * @date2019/7/20
 */
@Service
public class UserServiceImpl implements IUserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User queryUserById(Long id) {
        return userMapper.queryUserById(id);
    }
}
